find the inverse of the exponential function